package com.loto.insurance.mis.web.db.mapper;

import java.util.List;
import java.util.Map;

import com.loto.insurance.mis.web.entity.SupInfo;

public interface SupInfoMapper {

  List<SupInfo> findActive();

  SupInfo findActiveById(long supId);

  List<SupInfo> findAllSupPager(Map<String, Object> params);

  long findAllSupPagerCount(Map<String, Object> params);

  long insertSup(SupInfo supInfo);

  int updateSup(SupInfo supInfo);

  SupInfo findSupByName(String supName);

  SupInfo findSupById(long supId);

}
